<template>
  <div class="topWrapper">
    <!--<span class="navBoxTxt" @click="toYellowRiverSurvey()">黄河概况</span>-->
    <div class="welcomeDiv">欢迎您访问鹤壁市政策直达平台！</div>
    <!--<div class="loginInfoDiv">-->
      <!--<div class="welTxt">欢迎您：<span>鹤壁煤业(集团)有限责任公司</span></div>-->
      <!--<div class="cancellationBtn">注销</div>-->
    <!--</div>-->
    <div class="regLoginDiv">
      <span class="loginBtn" @click="toLogin">登录</span>
      <span class="regBtn" @click="toRegister">注册</span>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'top',
    components: {},
    data() {
      return {}
    },
    mounted() {

    },
    methods: {
      toIndex() {
        this.$router.push("/");
      },
      //登录
      toLogin() {
        this.$router.push("/login");
      },
      //注册
      toRegister() {
        this.$router.push("/register");
      },

    }
  }
</script>

<style scoped>
  .topWrapper {
    width: 100%;
    height: .5rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }
  .welcomeDiv{
    font-size: 18px;
    font-weight: bolder;
    color: #000;
  }
  .regLoginDiv{
    padding-right: 30px;
  }
  .loginBtn{
    font-size: 18px;
    color: #f00;
    margin-right: 50px;
    cursor: pointer;
    font-weight: bolder;
  }
  .regBtn{
    font-size: 18px;
    color: #f00;
    cursor: pointer;
    font-weight: bolder;
  }
  /*登录进入系统*/
  .loginInfoDiv{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-right: 30px;
  }
  .welTxt{
    margin-right: 50px;
    font-size: 16px;
    color: #333;
  }
  .welTxt span{
    font-size: 16px;
    color: #f00;
    cursor: pointer;
    font-weight: bolder;
  }
  .cancellationBtn{
    font-size: 18px;
    color: #f00;
    cursor: pointer;
    font-weight: bolder;
  }

</style>

